import {planBussType,planStatus} from '@/utils/data'
export const tableSolvePlanOption = {
	searchMenuSpan: 4,
	columnBtn: false,
	border: true,
	index: true,
	indexLabel: '序号',
	stripe: true,
	menuAlign: 'center',
	align: 'center',
	addBtn: false,
	editBtn: false,
	delBtn: false,
	menu: false,
	highlightCurrentRow: true,
	searchSpan: 5,
	menuWidth: 100,
	showSummary: false,
	selection: false,
	column:[
		// { label: '主键id', prop: 'id' },
		// { label: '部门id', prop: 'deptId' },
		{ label: '部门名称', prop: 'deptName' },
		// { label: '客户id', prop: 'custId' },
		{ label: '客户名称', prop: 'custName' },
		{
					label: '业务类型',
					prop: 'planBussType',
					type: "select",
					search: true,
					dicData: planBussType,
					cell: true,
					
				},
		// { label: 'plan_buss_type', prop: 'planBussType' },
		{ label: '部门人员代码', prop: 'deptEmpNo',width: 130 },
		{ label: '部门人员名称', prop: 'deptEmpName' },
		{ label: '部门bu代码', prop: 'deptBuNo' },
		{ label: '部门bu名称', prop: 'deptBuName' },
		{ label: '年度', prop: 'planYear' },
		{ label: '月', prop: 'planMonth' },
		{ label: '计划销售金额', prop: 'planSalesAmt' },
		{ label: '时间销售金额', prop: 'factSalesAmt' },
		{ label: '计划回款金额', prop: 'planFeedbackAmt' },
		{ label: '实际回款金额', prop: 'factFeedbackAmt' },
		{ label: '状态', prop: 'status',dicData: planStatus,type: "select", },
		{ label: '创建日期', prop: 'createDate' },
		{ label: '创建人', prop: 'createBy' },
		{ label: '最后修改人', prop: 'lstUpdBy' },
		{ label: '最后修改日期', prop: 'lstUpdDate' },
		{ label: '审核人', prop: 'auditBy' },
		{ label: '关联上级计划', prop: 'parentId' },
		{ label: 'biz1', prop: 'biz1' },
		{ label: 'biz2', prop: 'biz2' },
		{ label: 'biz3', prop: 'biz3' },
		{ label: 'biz4', prop: 'biz4' },
		{ label: 'biz5', prop: 'biz5' },
		{ label: 'dbiz1', prop: 'dbiz1' },
		{ label: 'dbiz1', prop: 'dbiz2' },
		{ label: 'dbiz1', prop: 'dbiz3' },
		{ label: 'dbiz1', prop: 'dbiz4' }
	  ]
}
